<!DOCTYPE html>
<html>
<head>
    <meta charset='utf-8'>
    <title>Mocha Tests</title>
    <link rel="stylesheet" href="../node_modules/mocha/mocha.css">
    <link rel="stylesheet" href="css/map.css">
</head>
<body>
    <div id="mocha"></div>

    <script src="../node_modules/mocha/mocha.js"></script>
    <script src="../node_modules/chai/chai.js"></script>
    <script src="../node_modules/sinon/pkg/sinon.js"></script>
    <script src="../node_modules/sinon-chai/lib/sinon-chai.js"></script>
    <script src="../node_modules/happen/src/happen.js"></script>
    <script src="lib/bind-shim.js"></script>

    <script>
    if (typeof initMochaPhantomJS === 'function') {
        initMochaPhantomJS()
    }
    </script>

    <!-- include source files here... -->
    <script src='../dist/iD.js'></script>
    <script src='../dist/presets.js'></script>
    <script src='../dist/imagery.js'></script>

    <script src="spec/spec_helpers.js"></script>

    <!-- include spec files here... -->
    <script src="spec/lib/d3.keybinding.js"></script>
    <script src="spec/lib/diff3.js"></script>
    <script src="spec/lib/locale.js"></script>

    <script src="spec/actions/add_entity.js"></script>
    <script src="spec/actions/add_member.js"></script>
    <script src="spec/actions/add_midpoint.js"></script>
    <script src="spec/actions/change_member.js"></script>
    <script src="spec/actions/change_preset.js"></script>
    <script src="spec/actions/change_tags.js"></script>
    <script src='spec/actions/circularize.js'></script>
    <script src='spec/actions/connect.js'></script>
    <script src="spec/actions/copy_entities.js"></script>
    <script src='spec/actions/delete_member.js'></script>
    <script src="spec/actions/delete_multiple.js"></script>
    <script src="spec/actions/delete_node.js"></script>
    <script src="spec/actions/delete_relation.js"></script>
    <script src="spec/actions/delete_way.js"></script>
    <script src='spec/actions/discard_tags.js'></script>
    <script src='spec/actions/disconnect.js'></script>
    <script src="spec/actions/join.js"></script>
    <script src='spec/actions/merge.js'></script>
    <script src='spec/actions/merge_polygon.js'></script>
    <script src='spec/actions/merge_remote_changes.js'></script>
    <script src="spec/actions/move.js"></script>
    <script src="spec/actions/move_node.js"></script>
    <script src="spec/actions/noop.js"></script>
    <script src="spec/actions/orthogonalize.js"></script>
    <script src="spec/actions/restrict_turn.js"></script>
    <script src="spec/actions/reverse.js"></script>
    <script src="spec/actions/revert.js"></script>
    <script src="spec/actions/split.js"></script>
    <script src="spec/actions/straighten.js"></script>
    <script src="spec/actions/unrestrict_turn.js"></script>

    <script src="spec/geo.js"></script>
    <script src="spec/geo/extent.js"></script>
    <script src="spec/geo/intersection.js"></script>
    <script src="spec/geo/multipolygon.js"></script>

    <script src="spec/core/connection.js"></script>
    <script src="spec/core/graph.js"></script>
    <script src="spec/core/entity.js"></script>
    <script src="spec/core/node.js"></script>
    <script src="spec/core/way.js"></script>
    <script src="spec/core/relation.js"></script>
    <script src="spec/core/history.js"></script>
    <script src="spec/core/difference.js"></script>
    <script src="spec/core/tree.js"></script>

    <script src="spec/renderer/tile_layer.js"></script>
    <script src="spec/renderer/background_source.js"></script>
    <script src="spec/renderer/features.js"></script>
    <script src="spec/renderer/map.js"></script>

    <script src="spec/svg.js"></script>
    <script src="spec/svg/areas.js"></script>
    <script src="spec/svg/icon.js"></script>
    <script src="spec/svg/lines.js"></script>
    <script src="spec/svg/midpoints.js"></script>
    <script src="spec/svg/points.js"></script>
    <script src="spec/svg/vertices.js"></script>
    <script src="spec/svg/tag_classes.js"></script>

    <script src="spec/ui/inspector.js"></script>
    <script src="spec/ui/raw_tag_editor.js"></script>
    <script src="spec/ui/modal.js"></script>
    <script src="spec/ui/flash.js"></script>
    <script src="spec/ui/confirm.js"></script>
    <script src="spec/ui/cmd.js"></script>

    <script src="spec/ui/preset/access.js"></script>
    <script src="spec/ui/preset/localized.js"></script>
    <script src="spec/ui/preset/wikipedia.js"></script>

    <script src="spec/services/mapillary.js"></script>
    <script src="spec/services/nominatim.js"></script>
    <script src="spec/services/taginfo.js"></script>

    <script src="spec/util.js"></script>
    <script src='spec/util/session_mutex.js'></script>
    <script src='spec/util/suggest_names.js'></script>

    <script src="spec/behavior/hash.js"></script>
    <script src="spec/behavior/hover.js"></script>
    <script src="spec/behavior/select.js"></script>
    <script src="spec/behavior/lasso.js"></script>

    <script src="spec/modes/add_point.js"></script>

    <script src="spec/presets.js"></script>
    <script src="spec/presets/preset.js"></script>
    <script src="spec/presets/collection.js"></script>
    <script src="spec/presets/category.js"></script>
    <script src="spec/id.js"></script>

    <script src="spec/hoot/model/layers.js"></script>
    <script src="spec/hoot/model/folders.js"></script>
    <script src="spec/hoot/controller/translation_assistant.js"></script>
    <script src="spec/hoot.js"></script>

    <script>
        window.mocha.run();
    </script>
</body>
</html>
